package atom.core0.object;

public class InterfaceUtil
{
	public static boolean hasInterface(Class objectclass,String interfaceName)
	{
		Class[] interfaces = objectclass.getInterfaces();
		for(int i =0;i<interfaces.length;i++)
		{
			if (interfaces[i].getName().equals(interfaceName))
				return true;
		}
		return false;
	}
}
